= paginate @guests
table.table.table-inverse.table-striped.table-bordered.table-hover
  thead
    tr
      th 姓名
      th 身份证号码
  tbody
    - @guests.each do |guest|
      tr
        td = guest.idcard.name
        td = guest.idcard.code
